home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 14424 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: news.clark.net!not-for-mail
  2. From: gusty@clark.net (Harlan Messinger)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Debug Build vs Release Build
  5. Date: 30 Mar 1996 14:05:30 GMT
  6. Organization: Clark Internet Services, Inc., Ellicott City, MD USA
  7. Message-ID: <4jjf3a$987@clarknet.clark.net>
  8. References: <315C42D0.3C68@djttd.com>
  9. NNTP-Posting-Host: explorer.clark.net
  10. Mime-Version: 1.0
  11. Content-Type: TEXT/PLAIN; charset=ISO-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Newsreader: TIN [UNIX 1.3 950726BETA PL0]
  14.  
  15. John Cui (jcui@djttd.com) wrote:
  16. : I'm using VC++ 1.52 to debug build my application which loads a DLL. 
  17. : Worked! But if I do a relase build, Got GPF! Any idears?
  18. : Thanks.
  19.  
  20. One possibility is that one of the optimizations applied by default in 
  21. Release is causing trouble. Under the Compiler options, turn off 
  22. optimizations for the Release build and see if that solves the problem. If 
  23. so, then you can turn them back on, and then shut the individual 
  24. optimizations off one by one until you find out which one is the culprit.
  25.  
  26.